package com.iot08.common.entity.admin;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Description:
 * @author: Rock
 * @time: 2020/10/12 9:57
 */
@Data
@Document("users")
public class Users implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    private String username;

    private String password;

    private String nickname;

    private Integer vender;

    private String role;

    @Field("forbidden_status")
    private String forbiddenStatus;

    private Integer resetnum;

    private Integer T;

    private String permissions;

    private String ip;

    private String remark;

    private String creater;

    private Date lasttime;

    private Date previoustime;

    private Date maketime;

    private Date modifytime;

}
